Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make cloning object do clone used objects as well #5

Merged
merged 1 commit into from
May 2, 2018
Merged

Conversation

glensc
Copy link
Member

@glensc glensc commented May 2, 2018

this allows clone existing object, setup different credentials:

        $cloned = clone $client;
        $cloned->setCredentials($this->login, $this->token);

@glensc glensc merged commit b40b76f into master May 2, 2018
@glensc glensc deleted the cloneable branch May 2, 2018 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant